package com.tg.demo.entity;

import lombok.*;

import javax.persistence.Entity;
import java.io.Serializable;

/**
 * Hobby
 *
 * @author yuanjin
 * @date 2019/4/20
 */
@Entity
@Setter
@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Hobby implements Serializable {
    private static final long serialVersionUID = 1225622141860895836L;

    private Integer id;
    private String name;
    private String type;
    private String value;
    private String code;
}
